Skip to main content

All Questions

92votes
1answer
12kviews

Why does the following bash script delete itself?

If you create an executable file with the following contents, and run it, it will delete itself. How does this work? #!/bin/rm
Stack Exchange Broke The Law's user avatar

close